Optimal. Leaf size=250 \[ -\frac {b f}{2 d (f h-e i)^2 (h+i x)}-\frac {b f^2 \log (e+f x)}{2 d (f h-e i)^3}+\frac {a+b \log (c (e+f x))}{2 d (f h-e i) (h+i x)^2}-\frac {f i (e+f x) (a+b \log (c (e+f x)))}{d (f h-e i)^3 (h+i x)}+\frac {3 b f^2 \log (h+i x)}{2 d (f h-e i)^3}-\frac {f^2 (a+b \log (c (e+f x))) \log \left (1+\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)^3}+\frac {b f^2 \text {Li}_2\left (-\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.37, antiderivative size = 250, normalized size of antiderivative = 1.00, number of steps
used = 11, number of rules used = 9, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2458, 12,
2389, 2379, 2438, 2351, 31, 2356, 46} \begin {gather*} \frac {b f^2 \text {PolyLog}\left (2,-\frac {f h-e i}{i (e+f x)}\right )}{d (f h-e i)^3}-\frac {f^2 \log \left (\frac {f h-e i}{i (e+f x)}+1\right ) (a+b \log (c (e+f x)))}{d (f h-e i)^3}-\frac {f i (e+f x) (a+b \log (c (e+f x)))}{d (h+i x) (f h-e i)^3}+\frac {a+b \log (c (e+f x))}{2 d (h+i x)^2 (f h-e i)}-\frac {b f^2 \log (e+f x)}{2 d (f h-e i)^3}+\frac {3 b f^2 \log (h+i x)}{2 d (f h-e i)^3}-\frac {b f}{2 d (h+i x) (f h-e i)^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 31
Rule 46
Rule 2351
Rule 2356
Rule 2379
Rule 2389
Rule 2438
Rule 2458
Rubi steps
\begin {align*} \int \frac {a+b \log (c (e+f x))}{(h+182 x)^3 (d e+d f x)} \, dx &=\frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{d x \left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^3} \, dx,x,e+f x\right )}{f}\\ &=\frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{x \left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^3} \, dx,x,e+f x\right )}{d f}\\ &=-\frac {\text {Subst}\left (\int \frac {a+b \log (c x)}{x \left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^2} \, dx,x,e+f x\right )}{d (182 e-f h)}+\frac {182 \text {Subst}\left (\int \frac {a+b \log (c x)}{\left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^3} \, dx,x,e+f x\right )}{d f (182 e-f h)}\\ &=-\frac {a+b \log (c (e+f x))}{2 d (182 e-f h) (h+182 x)^2}-\frac {182 \text {Subst}\left (\int \frac {a+b \log (c x)}{\left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^2} \, dx,x,e+f x\right )}{d (182 e-f h)^2}+\frac {f \text {Subst}\left (\int \frac {a+b \log (c x)}{x \left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )} \, dx,x,e+f x\right )}{d (182 e-f h)^2}+\frac {b \text {Subst}\left (\int \frac {1}{x \left (\frac {-182 e+f h}{f}+\frac {182 x}{f}\right )^2} \, dx,x,e+f x\right )}{2 d (182 e-f h)}\\ &=-\frac {a+b \log (c (e+f x))}{2 d (182 e-f h) (h+182 x)^2}+\frac {182 f (e+f x) (a+b \log (c (e+f x)))}{d (182 e-f h)^3 (h+182 x)}+\frac {(182 f) \text {Subst}\left (\int \frac {a+b \log (c x)}{\frac {-182 e+f h}{f}+\frac {182 x}{f}} \, dx,x,e+f x\right )}{d (182 e-f h)^3}-\frac {(182 b f) \text {Subst}\left (\int \frac {1}{\frac {-182 e+f h}{f}+\frac {182 x}{f}} \, dx,x,e+f x\right )}{d (182 e-f h)^3}-\frac {f^2 \text {Subst}\left (\int \frac {a+b \log (c x)}{x} \, dx,x,e+f x\right )}{d (182 e-f h)^3}+\frac {b \text {Subst}\left (\int \left (\frac {182 f^2}{(182 e-f h) (182 e-f h-182 x)^2}+\frac {182 f^2}{(182 e-f h)^2 (182 e-f h-182 x)}+\frac {f^2}{(182 e-f h)^2 x}\right ) \, dx,x,e+f x\right )}{2 d (182 e-f h)}\\ &=-\frac {b f}{2 d (182 e-f h)^2 (h+182 x)}-\frac {3 b f^2 \log (h+182 x)}{2 d (182 e-f h)^3}+\frac {b f^2 \log (e+f x)}{2 d (182 e-f h)^3}-\frac {a+b \log (c (e+f x))}{2 d (182 e-f h) (h+182 x)^2}+\frac {182 f (e+f x) (a+b \log (c (e+f x)))}{d (182 e-f h)^3 (h+182 x)}+\frac {f^2 \log \left (-\frac {f (h+182 x)}{182 e-f h}\right ) (a+b \log (c (e+f x)))}{d (182 e-f h)^3}-\frac {f^2 (a+b \log (c (e+f x)))^2}{2 b d (182 e-f h)^3}-\frac {\left (b f^2\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {182 x}{-182 e+f h}\right )}{x} \, dx,x,e+f x\right )}{d (182 e-f h)^3}\\ &=-\frac {b f}{2 d (182 e-f h)^2 (h+182 x)}-\frac {3 b f^2 \log (h+182 x)}{2 d (182 e-f h)^3}+\frac {b f^2 \log (e+f x)}{2 d (182 e-f h)^3}-\frac {a+b \log (c (e+f x))}{2 d (182 e-f h) (h+182 x)^2}+\frac {182 f (e+f x) (a+b \log (c (e+f x)))}{d (182 e-f h)^3 (h+182 x)}+\frac {f^2 \log \left (-\frac {f (h+182 x)}{182 e-f h}\right ) (a+b \log (c (e+f x)))}{d (182 e-f h)^3}-\frac {f^2 (a+b \log (c (e+f x)))^2}{2 b d (182 e-f h)^3}+\frac {b f^2 \text {Li}_2\left (\frac {182 (e+f x)}{182 e-f h}\right )}{d (182 e-f h)^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 226, normalized size = 0.90 \begin {gather*} \frac {\frac {(f h-e i)^2 (a+b \log (c (e+f x)))}{(h+i x)^2}+\frac {2 f (f h-e i) (a+b \log (c (e+f x)))}{h+i x}+\frac {f^2 (a+b \log (c (e+f x)))^2}{b}-2 b f^2 (\log (e+f x)-\log (h+i x))-\frac {b f (f h-e i+f (h+i x) \log (e+f x)-f (h+i x) \log (h+i x))}{h+i x}-2 f^2 (a+b \log (c (e+f x))) \log \left (\frac {f (h+i x)}{f h-e i}\right )-2 b f^2 \text {Li}_2\left (\frac {i (e+f x)}{-f h+e i}\right )}{2 d (f h-e i)^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(704\) vs.
\(2(241)=482\).
time = 1.16, size = 705, normalized size = 2.82 Too large to display
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Both result and optimal contain complex but leaf count of result is larger than
twice the leaf count of optimal. 522 vs. \(2 (240) = 480\).
time = 0.62, size = 522, normalized size = 2.09 \begin {gather*} \frac {i \, {\left (\log \left (f x + e\right ) \log \left (-\frac {f x + e}{i \, f h + e} + 1\right ) + {\rm Li}_2\left (\frac {f x + e}{i \, f h + e}\right )\right )} b f^{2}}{-i \, d f^{3} h^{3} - 3 \, d f^{2} h^{2} e + 3 i \, d f h e^{2} + d e^{3}} + \frac {{\left (2 i \, a f^{2} + {\left (2 i \, f^{2} \log \left (c\right ) - 3 i \, f^{2}\right )} b\right )} \log \left (-2 i \, h + 2 \, x\right )}{-2 i \, d f^{3} h^{3} - 6 \, d f^{2} h^{2} e + 6 i \, d f h e^{2} + 2 \, d e^{3}} + \frac {16 \, {\left (3 i \, a f^{2} h^{2} + {\left (i \, b f^{2} h^{2} - 2 \, b f^{2} h x - i \, b f^{2} x^{2}\right )} \log \left (f x + e\right )^{2} + {\left (3 i \, f^{2} h^{2} \log \left (c\right ) - i \, f^{2} h^{2}\right )} b - {\left (2 \, a f^{2} h + {\left (2 \, f^{2} h \log \left (c\right ) - f^{2} h\right )} b - {\left ({\left (2 i \, f \log \left (c\right ) - i \, f\right )} b + 2 i \, a f\right )} e\right )} x + {\left (-i \, b \log \left (c\right ) - i \, a\right )} e^{2} + {\left (4 \, a f h + {\left (4 \, f h \log \left (c\right ) - f h\right )} b\right )} e + {\left (2 i \, b f^{2} h^{2} \log \left (c\right ) + 2 i \, a f^{2} h^{2} + 4 \, b f h e + {\left (-2 i \, a f^{2} + {\left (-2 i \, f^{2} \log \left (c\right ) + 3 i \, f^{2}\right )} b\right )} x^{2} - 2 \, {\left (2 \, a f^{2} h - i \, b f e + 2 \, {\left (f^{2} h \log \left (c\right ) - f^{2} h\right )} b\right )} x - i \, b e^{2}\right )} \log \left (f x + e\right )\right )}}{32 i \, d f^{3} h^{5} + 96 \, d f^{2} h^{4} e - 96 i \, d f h^{3} e^{2} - 32 \, d h^{2} e^{3} - 32 \, {\left (i \, d f^{3} h^{3} + 3 \, d f^{2} h^{2} e - 3 i \, d f h e^{2} - d e^{3}\right )} x^{2} - 64 \, {\left (d f^{3} h^{4} - 3 i \, d f^{2} h^{3} e - 3 \, d f h^{2} e^{2} + i \, d h e^{3}\right )} x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {a+b\,\ln \left (c\,\left (e+f\,x\right )\right )}{{\left (h+i\,x\right )}^3\,\left (d\,e+d\,f\,x\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________